<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    protected function _initAutoLoad()
    {
       

        $autoLoader = new Zend_Application_Module_Autoloader(array(
            'namespace' => '',
            'basePath'  => APPLICATION_PATH . '/modules/users'
        ));
        $fc = Zend_Controller_Front::getInstance();
        $fc->registerPlugin(new Plugin_AccessCheck());
        //die();
        return $autoLoader;

    }

     protected function _initSesion()
    {
        $session= new Zend_Session_Namespace("GNS");
        Zend_Registry::set("login",$session);
        Zend_Registry::set("session",$session);


    }

}

